Repository navigation
Conversation
Review — Codex gate SHIP AS-IS; one caveat (couldn't compile locally)Thanks @albnavper — this is a clean, well-scoped fix for the recurring X11 half-window gap (#83, after #67/#80). I ran it through the full advisor gate and traced the change: What's right:
Codex advisor verdict: SHIP AS-IS. It verified the exact gtk-rs 0.18.2 / Tauri 2.11.2 / wry 0.55.1 signatures ( One caveat before merge: I can't compile-verify this in my environment (no Happy to merge once a Linux build confirms it compiles and the gap is resolved. (Reviewed at head |
Correction + addendum to my review above — the X11 gate is likely the one thing to changeMy first comment ran before the full advisor analysis finished, and I need to correct a point I got backwards. I praised the The packing bug is backend-independent, so gating the fix to X11 leaves native Wayland broken with the identical 50/50 split. (
Recommended changeDelete the If you'd rather validate on a live Wayland session before widening scope, the acceptable alternative is: ship as-is (X11-only) but open the Wayland follow-up issue now and note the deliberate scoping in the changelog entry — so it's a tracked, intentional decision rather than a silent gap. Caveat: the Wayland breakage is source-verified mechanism analysis, not runtime-verified (no Wayland session available to the advisor or me). So the cleanest path is probably to drop the gate and have a Wayland user confirm, since the mechanism argument is strong and the change is coordinate-free. Everything else in my first comment stands — the API usage, thread-safety, scoping of the coordinate helpers, no-new-dependency, and unit test are all correct (the advisor marked the content-tab packing call and the frozen-behavior unit test as harmless SKIPs). The one substantive item is the X11 gate on (Full advisor gate at head |
|
Closing as superseded by #87, now merged in @albnavper, your commit went in unchanged and under your authorship: #87 carried |
Summary
Root cause
On Linux, Tauri 2.11 creates
WindowChildwebviews withbuild_gtk(default_vbox). Wry packs each child into the GTK box withexpand=true, so the tab strip and content webview split the available height even though the app requests explicit bounds. The apparent empty band is the strip webview receiving roughly half of the window.Verification
cargo fmt --checkcargo test— 24 passed, 1 ignored, 0 failedcargo clippy --all-targetspasses after excluding existing platform-only dead-code and uninlined-format warnings; the patch introduces no new clippy findingsCloses #83